-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
↳ QTRS
↳ Overlay + Local Confluence
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
-1(s(x), s(y)) → -1(x, y)
F(s(x)) → F(x)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
G(s(x)) → F(g(x))
G(s(x)) → -1(s(x), f(g(x)))
F(s(x)) → -1(s(x), g(f(x)))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
-1(s(x), s(y)) → -1(x, y)
F(s(x)) → F(x)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
G(s(x)) → F(g(x))
G(s(x)) → -1(s(x), f(g(x)))
F(s(x)) → -1(s(x), g(f(x)))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
-1(s(x), s(y)) → -1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
F(s(x)) → F(x)
F(s(x)) → G(f(x))
G(s(x)) → G(x)
G(s(x)) → F(g(x))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
F(s(x)) → F(x)
G(s(x)) → G(x)
G(s(x)) → F(g(x))
Used ordering: Polynomial interpretation [25]:
F(s(x)) → G(f(x))
POL(-(x1, x2)) = x1
POL(0) = 0
POL(F(x1)) = x1
POL(G(x1)) = 1 + x1
POL(f(x1)) = x1
POL(g(x1)) = 1 + x1
POL(s(x1)) = 1 + x1
-(0, s(y)) → 0
-(x, 0) → x
f(0) → 0
-(s(x), s(y)) → -(x, y)
g(0) → s(0)
f(s(x)) → -(s(x), g(f(x)))
g(s(x)) → -(s(x), f(g(x)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
F(s(x)) → G(f(x))
-(x, 0) → x
-(0, s(y)) → 0
-(s(x), s(y)) → -(x, y)
f(0) → 0
f(s(x)) → -(s(x), g(f(x)))
g(0) → s(0)
g(s(x)) → -(s(x), f(g(x)))
-(x0, 0)
-(0, s(x0))
-(s(x0), s(x1))
f(0)
f(s(x0))
g(0)
g(s(x0))